.logo.vite:hover {
  filter: drop-shadow(0 0 2em #747bff);
}

.logo.preact:hover {
  filter: drop-shadow(0 0 2em #673ab8);
}
:root {
  --primary-color: #6200ea;
  --primary-light: #9d46ff;
  --primary-dark: #0a00b6;
  --accent-color: #00e5ff;
  --text-on-primary: #ffffff;
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0b0;
  --background-dark: #121212;
  --background-card: #1e1e1e;
  --background-card-hover: #2a2a2a;
  --error-color: #cf6679;
  --success-color: #03dac6;
  --warning-color: #ffb74d;
  --border-radius: 8px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-dark);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

#app {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

@media (max-width: 768px) {
  .container {
    padding: var(--spacing-md);
  }
}

/* Headers */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.025em;
}

h1 {
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

/* Cards */
.card {
  background-color: var(--background-card);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.card:hover {
  background-color: var(--background-card-hover);
  box-shadow: var(--shadow-md);
}

/* Form Elements */
input, textarea, select {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-family);
  transition: var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.12);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  background-color: var(--primary-color);
  color: var(--text-on-primary);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn:hover {
  background-color: var(--primary-light);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.btn-accent {
  background-color: var(--accent-color);
  color: #000;
}

.btn-accent:hover {
  background-color: #33eaff;
}

.btn-icon {
  margin-right: var(--spacing-sm);
  font-size: 1.1rem;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  height: 8px;
  margin: var(--spacing-md) 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

/* List */
.list {
  list-style: none;
}

.list-item {
  padding: var(--spacing-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.list-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.list-item:last-child {
  border-bottom: none;
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--spacing-sm);
}

.gap-md {
  gap: var(--spacing-md);
}

/* Status indicators */
.status {
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
}

.status-success {
  background-color: rgba(3, 218, 198, 0.1);
  color: var(--success-color);
}

.status-error {
  background-color: rgba(207, 102, 121, 0.1);
  color: var(--error-color);
}

.status-warning {
  background-color: rgba(255, 183, 77, 0.1);
  color: var(--warning-color);
}

.status-info {
  background-color: rgba(157, 70, 255, 0.1);
  color: var(--primary-light);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn var(--transition-normal);
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.pulse {
  animation: pulse 1.5s infinite;
}
